import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'

import App from './App.vue'
import router from './router'
import MyButton from './components/maoxy/my-button.vue';
import CustomDemo from './components/maoxy/custom-demo.vue';
import PieCharts from './components/maoxy/pie-charts.vue';

const pinia = createPinia();
pinia.use(piniaPersist);

const app = createApp(App)
app.component('my-button', MyButton);
app.component('custom-demo', CustomDemo);
app.component('pie-charts', PieCharts);

app.use(pinia)
app.use(router)

app.mount('#app')
